package com.imti.mall.sale.service;

import com.imti.mall.model.sms.pojo.SmsFlashPromotionProductRelation;
import com.imti.mall.model.sms.vo.SmsCouponProductRelationTo;
import com.imti.mall.model.sms.vo.SmsFlashPromotionProductRelationVo;

import java.util.List;

public interface SmsFlashPromotionProductRelationService {
    /**
     * 查询限时购与商品关系表（可按照条件查询）
     * @param
     * @return
     */
    public List<SmsCouponProductRelationTo> findSmsFlashPromotionProductRelation(SmsCouponProductRelationTo smsCouponProductRelationTo, Integer pageSize, Integer pageNum);

    /**
     * 查询限时购与商品关系表与限时购场次表
     * @param smsFlashPromotionProductRelationVo
     * @return
     */
    public List<SmsFlashPromotionProductRelationVo> findSmsFlashPromotionProductRelationAndSmsFlashPromotionSession(SmsFlashPromotionProductRelationVo smsFlashPromotionProductRelationVo);
    /**
     * 根据id修改限时购与商品关系表
     * @param smsFlashPromotionProductRelation
     * @return
     */
    public Integer updateSmsFlashPromotionProductRelation(SmsFlashPromotionProductRelation smsFlashPromotionProductRelation);

    /**
     * 添加限时购与商品关系表
     * @param smsFlashPromotionProductRelation
     * @return
     */
    public Integer addSmsFlashPromotionProductRelation(List<SmsFlashPromotionProductRelation> smsFlashPromotionProductRelation);

    /**
     * 删除限时购与商品关系表
     * @param smsFlashPromotionProductRelation
     * @return
     */
    public Integer deleteSmsFlashPromotionProductRelation(SmsFlashPromotionProductRelation smsFlashPromotionProductRelation);
}
